<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>考试结果 - 牛津自然拼读学习应用</title>
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>牛津自然拼读学习应用</h1>
        </header>
        
        <main>
            <div class="results-section">
                <h2>考试结果</h2>
                
                <div class="result-summary">
                    <div class="score-display">
                        <div class="score-circle">
                            <span id="final-score">0</span>
                            <span class="score-label">分</span>
                        </div>
                    </div>
                    
                    <div class="result-details">
                        <div class="result-item">
                            <span class="label">答对题数:</span>
                            <span id="correct-count">0</span>
                        </div>
                        <div class="result-item">
                            <span class="label">总题数:</span>
                            <span id="total-count">0</span>
                        </div>
                        <div class="result-item">
                            <span class="label">正确率:</span>
                            <span id="accuracy">0%</span>
                        </div>
                        <div class="result-item">
                            <span class="label">用时:</span>
                            <span id="time-taken">0秒</span>
                        </div>
                    </div>
                </div>
                
                <div class="result-actions">
                    <button class="btn-secondary" onclick="reviewMistakes()">查看错题</button>
                    <button class="btn-primary" onclick="startNewQuiz()">再来一次</button>
                </div>
            </div>
        </main>
        
        <footer>
            <p>&copy; 2025 牛津自然拼读学习应用</p>
        </footer>
    </div>
    
    <script src="/static/js/results.js"></script>
</body>
</html>